from django.db import models

# Create your models here.
class McServerStatus(models.Model):
    status = models.CharField(max_length=40, null=True, blank=True)
    created_time = models.DateTimeField(auto_now_add=True)
    updated_time = models.DateTimeField(auto_now=True)

    class Meta:
        db_table = "mc_server_status"
        verbose_name = "服务状态"
        verbose_name_plural = "服务状态"

    def __str__(self):
        return self.status or ""
